package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.common.core.domain.Ztree;
import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.system.domain.Xtree;
import com.ruoyi.system.domain.Ytendereqe;

/**
 * 招标需求Service接口
 *
 * @author ruoyi
 * @date 2024-04-03
 */
public interface IYtendereqeService
{
    /**
     * 查询招标需求
     *
     * @param id 招标需求主键
     * @return 招标需求
     */
    public Ytendereqe selectYtendereqeById(String id);

    public List<Ytendereqe> selectYtendereqeByIds(String [] id);

    /**
     * 查询招标需求列表
     *
     * @param ytendereqe 招标需求
     * @return 招标需求集合
     */
    public List<Ytendereqe> selectYtendereqeList(Ytendereqe ytendereqe);
    public List<Ytendereqe> selectYtendereqdList(Ytendereqe ytendereqe);
    /**
     * 新增招标需求
     *
     * @param ytendereqe 招标需求
     * @return 结果
     */
    public int insertYtendereqe(Ytendereqe ytendereqe);

    /**
     * 修改招标需求
     *
     * @param ytendereqe 招标需求
     * @return 结果
     */
    public int updateYtendereqe(Ytendereqe ytendereqe);

    /**
     * 批量删除招标需求
     *
     * @param updtick0s 需要删除的招标需求主键集合
     * @return 结果
     */
    public int deleteYtendereqeByUpdtick0s(String updtick0s);

    /**
     * 删除招标需求信息
     *
     * @param updtick0 招标需求主键
     * @return 结果
     */
    public int deleteYtendereqeByUpdtick0(Long updtick0);

    /**
    * @Description: 查询各状态数量
    * @author: adam
    * @date: 2024/4/7 11:29
    * @param ytendereqe:
    * @Return:
    */
    public Ytendereqe selectYtendereqeCount(Ytendereqe ytendereqe);

    public String importYtende(List<Ytendereqe> list,boolean updateSupport);

    public List<Ytendereqe> selectBpsAmt(Ytendereqe ytendereqe);

    public List<Ytendereqe> selectInit(Ytendereqe ytendereqe);

    public List<Ytendereqe> selectInitBlob(Ytendereqe ytendereqe);

    /**
     * 查询招标需求树
     *
     * @param ytendereqe
     * @return
     */
    public List<Xtree> selectYtrqTree(Ytendereqe ytendereqe);
}
